package com.wl.dzt.basic.entity;

import com.wl.dzt.sys.annotation.Column;
import com.wl.dzt.sys.annotation.Table;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wl.dzt.basic.entity.BasicRole;
import com.wl.dzt.basic.entity.BasicPosition;

import java.io.Serializable;

@ApiModel("BasicRolePosition")
@Table("basic_role_position")
public class BasicRolePosition implements Serializable {

    @ApiModelProperty(value = "角色编号", name = "roleId")
    @Column(value = "role_id", text = "角色编号", maxLength = 32)
    private BasicRole roleId;


    @ApiModelProperty(value = "编号", name = "id")
    @Column(value = "id", text = "编号", maxLength = 32)
    private String id;


    @ApiModelProperty(value = "岗位编号", name = "positionId")
    @Column(value = "position_id", text = "岗位编号", maxLength = 32)
    private BasicPosition positionId;

    public BasicRole getRoleId() {
        return roleId;
    }

    public void setRoleId(BasicRole roleId) {
        this.roleId = roleId;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BasicPosition getPositionId() {
        return positionId;
    }

    public void setPositionId(BasicPosition positionId) {
        this.positionId = positionId;
    }
}
